export function initUniTypeFilter(cdns: Array<any>) {
  return {
    uniTypeFilter: (val: any, column: any) => {
      const arr = cdns.filter((item) => item.options);
      const options = arr.find((item) => item["field"] === column["field"])?.options ?? [];
      return options.find((item: any) => item["value"] === val)?.label ?? "";
    }
  }
}